//
//  MCTopUpRecrdTableViewCell.m
//  TLYL
//
//  Created by miaocai on 2017/7/10.
//  Copyright © 2017年 TLYL01. All rights reserved.
//

#import "MCTopUpRecrdTableViewCell.h"

@interface MCTopUpRecrdTableViewCell()

@property (weak, nonatomic) IBOutlet UIView *bgView;
@property (weak, nonatomic) IBOutlet UILabel *money;
@property (weak, nonatomic) IBOutlet UILabel *date;
@property (weak, nonatomic) IBOutlet UILabel *statusLabel;

@end

@implementation MCTopUpRecrdTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.bgView.layer.cornerRadius = 10.0f;
    self.bgView.layer.borderColor = [UIColor darkGrayColor].CGColor;
    self.bgView.layer.borderWidth = 1.0f;
    
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    
}

- (void)setDataSource:(MCTopUpRecordModel *)dataSource{
    _dataSource = dataSource;
    self.money.text = dataSource.money;
    
}
@end
